﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ordering.BusinessLayer
{
    partial class Order
    {
        public decimal TotalOrderPrice
        {
            get { return OrderLines.Sum(line => line.Quantity * line.UnitPrice); }
        }
    }
}
